New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
#include <iostream> using namespace std; int main(){ float a,b; for(int i=1;i<1000;++i){ cin>>a; cin>>b; flo
ian
0 Votes
1 Answer
10th Dec 2017, 4:20 PM
Ian
please tell me any mistake #include<iostream> int main() { int a,b; int sum = a+b; cout<<"value of a"<<endl; cin>>a; cout<<"value of b"<<endl; cin>>b; cout<< sum<<endl; return 0; } //if i simply write a+b in place of sum only then it works other wise it shows sum huge number
answer
c++
code
help
operators
1 Vote
4 Answers
2nd Oct 2017, 3:08 PM
saurav
Wher is mistake?
}
#include
<<
<<"enter
<iostream>
>>
0;
a
a;
a"
b
b"<<endl;
c
c"<<endl;
cin
cin>>b;
cout
cout<<"enter
cout<<d;
d;
d=sqrt(a*a+b*b+c*c);
endl;
int
main(){
namespace
return
std;
using
0 Votes
5 Answers
11th Oct 2018, 2:30 PM
Dima Moshko
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Need suggestions what improvements can I do in it
3 Votes
Help me plss
0 Votes
Android studio emulator
0 Votes
I can't understand the problem , please help ...
1 Votes
Return function
1 Votes
[SOLVED] About split() Function
1 Votes
Iam not able to add modules in python
0 Votes
help me
0 Votes
Why does every time I try to change the variable into a flaot it doesn't work pls help me!
1 Votes
From code challenges
0 Votes